package com.zbystudy;

/**
 * Created By zby on 22:40 2019/3/6
 */

public class CharUtil {

    /**
     * Created By zby on 14:52 2019/3/6
     * 验证字符
     */
    public static boolean validateLetter(Character c) {
        if (c == null) {
            return false;
        }
        return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z');
    }
}

